
<%@page import="com.printeverywhere.dto.Items"%><%@ taglib prefix="s"
	uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<s:set name="lang" var="lang" value="'application'" />

<s:if test="%{#session.WW_TRANS_I18N_LOCALE != null}">
	<s:set var="lang"
		value="'application_' + #session.WW_TRANS_I18N_LOCALE" />
</s:if>
<s:i18n name="application">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="23%" valign="top">
				<table width="226" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td class="search-text" width="225">
							<span class="common-bold-text"> <s:text
									name="UserShop.para1" /> </span>
							<div>
								<s:iterator value="itemsList">
									<s:if test="%{userId.id == id}">
										<span class="common-text"> <s:property
												value="%{generalCategories.categoryName}" /> <br> </span>
									</s:if>
								</s:iterator>
							</div>
						</td>
					</tr>
				</table>
			</td>
			<td width="77%" valign="top">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td>
							<table width="100%" border="0" cellpadding="0" cellspacing="0">

								<tr>
									<td>
										<div class="blue-text16" style="margin: 0px 0px 0px 0px">
											<s:iterator value="shopSettings">
												<s:if test="%{user.id == id}">
													<s:property value="%{title}" />
												</s:if>
											</s:iterator>
										</div>
										<div class="header-separator-bg"
											style="margin: 10px 5px 17px 0px"></div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin: 0px 0px 10px 0px">
								<table width="100%" border="0" cellpadding="5" cellspacing="0">
									<tr>
										<td>
											<s:set name="imgUrl" var="imgUrl"
												value="'servlet/ImageServlet?dto=ShopSettings&id='" />
											<img class="product-border"
												src="<s:property value="%{#imgUrl + shopSettings.user.id}" />" />
										</td>
									</tr>
									<tr>
										<td valign="top" align="right">
											<div class="welcome-text" style="margin: 0px 0px 0px 0px">
												<s:text name="UserShop.para2" />
												<span class="visitor-text"><s:property
														value="%{shopSettings.user.userId}" /> </span>,
											</div>
										</td>
									</tr>
									<tr>
										<td align="left" valign="top" class="common-text">
											<s:iterator value="shopSettings">
												<s:if test="%{user.id == id}">
													<s:property value="%{description }" />
												</s:if>
											</s:iterator>
										</td>
									</tr>
								</table>
							</div>
							<div style="margin: 0px 0px 22px 0px">


								<display:table name="itemsList" pagesize="10" cellpadding="6"
									cellspacing="1" requestURI="userShop.htm" id="row"
									class="verdana12blacknormal">

									<display:column title="Photo" headerClass="grid-header-bg"
										class="grid-bg common-text">
										<img class="product-border"
											src="servlet/ImageServlet?dto=Items&id=<%=((Items) pageContext
												.getAttribute("row"))
												.getItemId()%>" />
									</display:column>
									<display:column title="Title" headerClass="grid-header-bg"
										class="grid-bg common-text" property="title">
									</display:column>
									<display:column title="Quantity" headerClass="grid-header-bg"
										class="grid-bg common-text" property="quantity">
									</display:column>
									<display:column title="Shipping cost"
										headerClass="grid-header-bg" class="grid-bg common-text"
										property="shipPayment">
									</display:column>
									<display:column title="Price" headerClass="grid-header-bg"
										class="grid-bg common-text" property="buyPrice">
									</display:column>
									<display:column title="Time left" headerClass="grid-header-bg"
										class="grid-bg common-text" property="endTime">

									</display:column>


								</display:table>



								<div style="margin: 10px 0px 0px 0px">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td valign="top">
												&nbsp;
											</td>
											<td align="right" valign="top">
												<div class="common-text" style="margin: 0px 0px 0px 10px">
													<s:text name="UserShop.para10" />
												</div>
											</td>
										</tr>
									</table>
								</div>
							</div>
						</td>
					</tr>

				</table>
			</td>
		</tr>
	</table>
</s:i18n>
